<?php
    // estilos -- ver por qué no puedo usar class con un css - otra clase debe estar bloqueandolo
    $tabla_orga_td = 'vertical-align: middle; background-color: ; border: none;';    

    // imagenes
    $prev_img = $this->Html->image("restaurante/ic_navegar_left.png", array("width" => "32px", "height" => "32px", "id" => "nav_icon_left"));    
    $next_img = $this->Html->image("restaurante/ic_navegar.png", array("width" => "32px", "height" => "32px", "id" => "nav_icon_right"));    
    $prev_img_disabled = $this->Html->image("restaurante/ic_nav_left_disabled.png", array("width" => "32px", "height" => "32px", "id" => "nav_icon_left_disabled"));    
    $next_img_disabled = $this->Html->image("restaurante/ic_navegar_disabled.png", array("width" => "32px", "height" => "32px", "id" => "nav_icon_right_disabled"));    

    $volver_img = $this->Html->image("restaurante/ic_close.png", array("id" => "back_icon"));    
    $nuevo_img = $this->Html->image("restaurante/ic_add.png", array("id" => "add_icon"));    
    $cancel_img = $this->Html->image("restaurante/ic_cancel.png", array("id" => "back_icon"));    
    $save_img = $this->Html->image("restaurante/ic_ok.png", array("id" => "save_icon"));    
    
    $editar_img = $this->Html->image("restaurante/doc_images.png", array("width" => "24px", "height" => "24px"));    
    
?>
<?php echo $this->Session->flash('auth'); ?>
<?php echo $this->Form->create('User'); ?>

<!--- MARCO DE LA PANTALLA ------>
<table><tr><td style="width: 25%; border: none;"></td>
        <td style="padding: 20px; background: white;<?php echo $tabla_orga_td;?>">
<table>
    <tr>
        <td style="width: 15%; text-align:right; <?php echo $tabla_orga_td;?>"><div><?php echo $this->Html->image("restaurante/ic_resto.png", array("id" => "resto_icon"));?></div></td>
        <td style="width: 85%; text-align:left; <?php echo $tabla_orga_td;?>"><h1 class="titulo_ventana_2">Bienvenido a SmartDinner</h1></td>
    </tr>      
</table>
<hr>
<!--- CONTROLES ------>
<table style="<?php echo $tabla_orga_td;?>">
    <tr style="<?php echo $tabla_orga_td;?>">
        <td style="width:50%; <?php echo $tabla_orga_td;?>"><?php echo $this->Form->input('username', array('label' => 'Usuario')); ?></td>
    </tr>
    <tr style="<?php echo $tabla_orga_td;?>">
        <td style="width:50%; <?php echo $tabla_orga_td;?>"><?php echo $this->Form->input('password', array('label' => 'Contraseña')); ?></td>
    </tr>
</table>
<!--- BOTONERA ------>
<table>
    <tr>
        <td style="width: 15%; text-align:center; <?php echo $tabla_orga_td;?>"><?php echo $this->Form->submit('Ingresar'); ?> </td>
    </tr>
</table>

<?php //echo $this->Form->end(__('Ingresar')); ?>

<!--- FIN MARCO DE LA PANTALLA ------>
</td><td style="width: 25%; border: none;"></tr></table>
